package com.jsoft.dao.impl;

import com.jsoft.dao.UserEnterpriseDao;
import com.jsoft.entity.User;
import com.jsoft.entity.po.UserEnterprise;
import com.jsoft.utils.DAO;

/**
 * @author snkstart
 * @create 2023-02-21 13:41
 */
public class UserEnterpriseDaoImpl extends DAO<UserEnterprise> implements UserEnterpriseDao {
    @Override
    public UserEnterprise selectEnterpriseByUser(String userAccount) throws Exception {
        String sql="SELECT NAME,social_uniform_code socialUniformCode FROM userEnterprise where account=?";

        return get(sql,userAccount);
    }
}
